// 用户信息字段表
const { Schema, model } = require("../db");
const UserSchema = new Schema({
  __v: {
    type: Number,
    // 该字段不出现在返回的内容中
    select: false,
  },
  username: {
    type: String,
  },
  password: {
    type: String,
  },
});
module.exports = model("user", UserSchema);
